<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Book My Shows </title>
</head>
<body>

<spring:nestedPath path="search">
<form method="post" action="search"> 
<table border="1">
<tr><td> Show Date </td>
	<td> <select name="showDate">
			<option value="0" label="Select" />
			<c:forEach items="${showdates}" var="date">
				<option value="${date }">${date }</option>
			</c:forEach>

		</select>
	</td>
	<tr><td></td><td><input type="submit" value="Submit" /></td></tr>
</tr>
</table>
</form>
</spring:nestedPath>
</body>
</html>